<?php
namespace Twoir\System\Model;

use Twoir\System\Support\ParseTrait;
use Twoir\System\Support\SingleTrait;

/***
 * 支付记录表
 * 
 * 【注意事项】有增减字段，请更新 字段：FIELD和默认值：MYDEFAULT，没有更新请勿动！！！
 * cighsen02 365182575
 * time: 2022.04.19 update 2022.06.20
*/
class EnewsPayRecord
{
	use ParseTrait, SingleTrait;
	
	const TABLE = 'enewspayrecord';
	
	//主键字段
	const PRIMARY = 'id';
	
	//字段
	const FIELD = [
		'id', 'userid', 'username', 'orderid', 'money', 'posttime', 'paybz', 'type', 'payip'
	];
	
	/**
	 * 默认值， null为自动增加字段
	 */
	const MYDEFAULT = [
	    'id'		=> null,
		'userid'	=> 0, 
		'username'	=> '', 
		'orderid'	=> '', 
		'money'		=> '', 
		'posttime'	=> '0000-00-00 00:00:00', 
		'paybz'		=> '', 
		'type'		=> '', 
		'payip'		=> ''
	];
}